<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<title th:text="#{i18n.text_4}"></title>
	<head th:replace="head"/>
	<style>
	.dashbord_servic_address {
	    width: 100%;
	}
	</style>
</head>
<body th:inline="text">
<nav th:replace="nav"/>
<section class="layout">
	<div class="horizontal-content">
		<div class="middle">
			<div class="md_top">
				<div th:replace="home/top"/>
			</div>
			<!-- new start -->
			<div class="dashbord_content_outer clearfix">
				<div class="db_content">
					<div class="dashbord_info">
						<div class="item">
							<div class="num">
								<span class="valid" id="runMine" th:text="${runMine}">0</span>/<span id="totalMine" th:text="${totalMine}"></span>
							</div>
							<div class="name"><span class="item1"></span>[[#{i18n.text_70}]]</div>
						</div>
						<div class="item">
							<div class="num" id="sumEarn" th:text="${sumEarn}">
								0.00000000
							</div>
							<div class="name"><span class="item2"></span>[[#{i18n.text_71}]]
							</div>
						</div>
						<div class="item">
							<div class="num" id="income24" th:text="${income24}">
								0.00000000
							</div>
							<div class="name"><span class="item3"></span>[[#{i18n.text_72}]]
							</div>
						</div>
						<div class="item">
							<div class="num" id="totalIncome" th:text="${totalIncome}">	
								0.00000000
							</div>
							<div class="name"><span class="item4"></span>[[#{i18n.text_73}]]
							</div>
						</div>
					</div>
					<!--alert-notification end-->
					<!--dashbord chart start-->
					<div class="block">
						<div class="block-pannel-con clearfix">
							<div class="block-pannel-topInfo">
                            <span>
                                <i id="speed1m" th:text="${accountAcceptDto}? ${accountAcceptDto.speed1m}:'0.00'">0.00</i><i> T/s</i> 1M
                            </span>
							<span>
                                 <i id="speed5m" th:text="${accountAcceptDto}? ${accountAcceptDto.speed5m}:'0.00'">0.00</i><i> T/s</i> 5M
                           </span>
							<span>
                                 <i id="speed15m" th:text="${accountAcceptDto}? ${accountAcceptDto.speed15m}:'0.00'">0.00</i><i> T/s</i> 15M
                           </span>
							<span>
                                <i id="speed1h" th:text="${accountAcceptDto}? ${accountAcceptDto.speed1h}:'0.00'">0.00</i><i> T/s</i> 1H
                            </span>
							</div>
							<div class="block-pannel-title">
								<div class="fl" th:text="#{i18n.text_74}">
								</div>
								<div class="fr J-btn-dashbord chart-btns">
									<span data-id="chart-day" class="" th:text="#{i18n.text_75}"></span>
									<span data-id="chart-hour" class="" th:text="#{i18n.text_76}"></span>
								</div>
							</div>
							<div class="clearfix">
								<div id="chart-day" _echarts_instance_="ec_1513933857348" style="-webkit-tap-highlight-color: transparent; user-select: none; position: relative; background-color: transparent; display: none;"><div style="position: relative; overflow: hidden; width: 1200px; height: 442px;"><canvas width="1200" height="442" data-zr-dom-id="zr_0" style="position: absolute; left: 0px; top: 0px; width: 1200px; height: 442px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></canvas></div><div></div></div>
								<div id="chart-hour" _echarts_instance_="ec_1513933857349" style="-webkit-tap-highlight-color: transparent; user-select: none; position: relative; background-color: transparent; display: none;"><div style="position: relative; overflow: hidden; width: 1200px; height: 442px;"><canvas width="1200" height="442" data-zr-dom-id="zr_0" style="position: absolute; left: 0px; top: 0px; width: 1200px; height: 442px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></canvas></div><div></div></div>
							</div>
						</div>
					</div>
					<!--dashbord chart end-->
					<!--start-->
					<div class="dashbord_service block p-b-50 clearfix">
						<div class="block-pannel-con clearfix">
							<!-- <div class="fl dashbord_servic_address">
								<div class="title" th:text="#{i18n.text_77}">
								</div>
								<div>
									<p>[[#{i18n.text_78}]]:xxxxx</p>
									<p>[[#{i18n.text_79}]]:xxxxx</p>

									<p>[[#{i18n.text_80}]]:xxxxx</p>

									<p>[[#{i18n.text_81}]]:<a href="http://forum.bitmain.com/bbs/topics/node3" class="forum" target="_blank">akpool BBS</a>
										<a href="/user/vipRequest.htm" class="user-vip" target="_blank" th:text="#{i18n.text_82}"></a>
									</p>
								</div>
							</div> -->
							<div class="fr dashbord_servic_address clearfix">
								<div class="fl">
									<div class="title" th:text="#{i18n.text_83}">
									</div>
									<div>
										<a id="copysolo3333" href="stratum+tcp://39.107.86.147:3333">stratum+tcp://39.107.86.147:3333</a>
										<a id="copysolo443" href="stratum+tcp://39.107.86.147:443">stratum+tcp://39.107.86.147:443</a>
										<a id="copysolo25" href="stratum+tcp://39.107.86.147:25">stratum+tcp://39.107.86.147:25</a>
										<a th:href="@{/help/help#/wt1}" class="b-h-2-help" th:text="#{i18n.text_5}"></a>
									</div>
								</div>
								<div class="fr" onmouseover="$('#bigimg').show()" onmouseout="$('#bigimg').hide()">
									<img src="/images/akpool/s-img.jpg" alt="" width="180"/>
								</div>
								<div id="bigimg" style=" float:right;  position:absolute; margin-top:-200px;; margin-left:400px;display:none; z-index:999;">
									<img src="/images/akpool/setting-help-big.png" alt=""/>
								</div>

							</div>
						</div>
					</div>
					<!--end-->
				</div>
			</div>

			<!-- new end -->
		</div>
	</div>

	<footer th:replace="footer"/>


</section>

<script th:src="@{/js/jquery.SuperSlide.js}"></script>
<script th:src="@{/js/echarts.min.js}"></script>
<script th:src="@{/js/chart-data-new.js?v=20180312}"></script>

<script th:inline="javascript">
	var accountId = [[${accountId}]];
	if(accountId==null){
		$('#useridSetModal').modal();
		$('#userIdSave').bind('click', function(e) {
			var userIdIn=$('#userIdIn').val();
			$.ajax({
				type : "POST",
				url : "/user/addAccount",
				data : {name:userIdIn},
				success : function(data) {
					if(data.code=='200') {
						$('#useridSetModal').modal('hide');
						window.location.reload(true);
					} else {
						$('#dialog_msg').html(data.msg);
					}
				}
			});
		});
		document.onkeydown = function (event){
		　　if (event.keyCode==13){
			//回车键的键值为13
			$("#userIdSave").trigger("click");
		　　} 
	　　	};
	}
</script>
</body>
</html>